package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_img
 * remarks --> 
 * columns --> imgId,imgSuffixStr,createTime,img
 */
@ApiModel(value = "mmd_img",description = "")
public class MmdImg implements Serializable {
    /**
     * imgId
     * 图片ID
     */
    @ApiModelProperty(value="imgId",name="图片ID")
    private String imgId;

    /**
     * name
     * 名称
     */
    @ApiModelProperty(value="name",name="名称")
    private String name;

    /**
     * imgSuffixStr
     * 图片后缀
     */
    @ApiModelProperty(value="imgSuffixStr",name="图片后缀")
    private String imgSuffixStr;

    /**
     * createTime
     * 创建时间
     */
    @ApiModelProperty(value="createTime",name="创建时间")
    private Date createTime;

    /**
     * img
     * 图片内容
     */
    @ApiModelProperty(value="img",name="图片内容")
    private byte[] img;

    private static final long serialVersionUID = 1L;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgId() {
        return imgId;
    }

    public void setImgId(String imgId) {
        this.imgId = imgId == null ? null : imgId.trim();
    }

    public String getImgSuffixStr() {
        return imgSuffixStr;
    }

    public void setImgSuffixStr(String imgSuffixStr) {
        this.imgSuffixStr = imgSuffixStr == null ? null : imgSuffixStr.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public byte[] getImg() {
        return img;
    }

    public void setImg(byte[] img) {
        this.img = img;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", imgId=").append(imgId);
        sb.append(", imgSuffixStr=").append(imgSuffixStr);
        sb.append(", createTime=").append(createTime);
        sb.append(", img=").append(img);
        sb.append("]");
        return sb.toString();
    }
}